package com.guomao.feign;


import com.guomao.entity.Brand;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@FeignClient("MALL-EASYGO-BRANDSERVICE")
public interface BrandClient {

    @RequestMapping("/brand_getBrands")
    public List<Brand> getBrands();

    @RequestMapping("/brand_delete")
    public boolean deleteBrand(@RequestParam Integer id);
}
